home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000012_news@columbia.edu_Fri Mar 31 14:02:39 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25240
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 31 Mar 1995 09:03:04 -0500
Received: by apakabar.cc.columbia.edu id AA23496
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 31 Mar 1995 09:03:00 -0500
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to disable C-Kermit CLI
Date: 31 Mar 1995 14:02:39 GMT
Organization: Columbia University
Lines: 37
Message-Id: <3lh21v$mni@apakabar.cc.columbia.edu>
References: <D67t0M.A49@cunews.carleton.ca>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <D67t0M.A49@cunews.carleton.ca>,
Rick Mallett <rmallett@boris.carleton.ca> wrote:
: I'm using kermit for file upload/download in conjunction with a Unix
: restricted shell text-based menu interface that should prevent all
: direct access to Unix shell commands. Files are uploaded/downloaded by
: way of expect scripts where the invokation is as follows:
: ...
: This seems to work OK except that I found the other day that users can
: escape to the kermit prompt by typing several CTRL-C's during the upload
: operation.
: ...
: The question is this. How do I prevent the users from reaching the
: `C-Kermit>' prompt. I tried compiling with KFLAGS=-DNOICP, but got the
: following:
:
: ld: Undefined symbol
: _gettcs
:
That would be a bug -- I'll fix it.
: I did a `make clean' ahead of time so I'm guessing that no-one in the
: Unix world has bothered trying this option. Even if I solve this
: problem, I kind of suspect that it won't work as expected since the `-C
: whatever' command probably needs the command line interpreter.
:
That's correct.
: Is there another compilation flag that will give me the result I want.
:
Try -DNOPUSH. This should prevent any type of shell access from the
C-Kermit prompt. Or try -DNOCTRLC. This should make Ctrl-C (SIGINT)
exit the program rather than returning to the prompt.
Read about them in ckccfg.doc.
- Frank